<template>
  <div id="app">
    <div id="nav">
      <router-link to="/game" class="h r">|游戏 </router-link>
      <router-link to="/work" class="h r">|打谱</router-link>
    </div>
    <router-view />
  </div>
</template>
<script>
export default {
  mounted() {
    // getTest().then(res => {
    //   console.log(res);
    //   return res;
    // });
  }
};
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

#nav {
}
.r {
  font-size: 50px;
}
.h {
  font-family: "Comic Sans MS", "Comic Sans", cursive;
}
#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}

.btn2 {
  font-size: 20px;
  background: white;
}
.btn2:hover {
  background: grey;
}
.input1 {
  font-size: 20px;
  margin: 10px 0px;
}
.div-edit {
  outline: none;
}
</style>
